<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Reservas do Quarto</title>
	<meta name="generator" content="TextMate http://macromates.com/">
	<meta name="author" content="leobessa">
	<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
	<!-- Date: 2009-02-25 -->
</head>
<body>
<div id="container">
	<div id="banner">
	<h1>Reservas do Quarto {{ room.number }} ({{ room.avaiableBeds }} vagas)</h1>
	</div>

	<div id="nav">
	<a href="/">Home</a><br/>
	<a href="/listRooms">Voltar</a><br/>
	</div>	

	<div id="content">
		<h2>Hóspedes</h2>
		<table border="0" cellspacing="5" cellpadding="5">
			{% for person in room.people %}
			<tr><td>{{ person.name }}</td></tr>
			{% endfor %}
		</table>
		{% ifequal room.people.count 0 %}
		  Não há reservas para este quarto.
		{% endifequal %}
	</div>
	
	<div id="footer">
	 Desenvolvido por Leonardo Bessa
	</div>
	
</div>
</body>
</html>
